﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ZFB.Common;

namespace ZFB.IServices
{
    public interface IRegionServices
    {
        /// <summary>
        /// 根据Id获取区域信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult> GetByIdAsync(long id);
        /// <summary>
        /// 获得某个城市下的区域
        /// </summary>
        /// <param name="cityid"></param>
        /// <returns></returns>
        Task<ApiResult> GetAllAsync(long cityid);
    }
}
